<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `hd_config`");
$db->exe("CREATE TABLE `hd_config` (
  `name` varchar(45) NOT NULL COMMENT '配置项名称必须为英文',
  `value` varchar(45) NOT NULL COMMENT '配置项值',
  `title` varchar(80) NOT NULL COMMENT '中文标题说明',
  `html` varchar(50) DEFAULT NULL,
  `tid` tinyint(4) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='配置表\n'");
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("webname","行天下 看世界 旅游网","网站标题","{$hd.config.webname}","1")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("adminemail","xwb7724@126.com","管理员邮箱","{$hd.config.adminemail}","1")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("copy","行天下版权所有 京ICP备:848484","版权信息","{$hd.config.copy}","1")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("code_width","110","验证码宽度","{$hd.config.code_width}","2")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("code_height","25","验证码高度","{$hd.config.code_height}","2")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("code_len","5","验证码字符数量","{$hd.config.code_len}","2")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("code_font_size","17","验证码文字大小","{$hd.config.code_font_size}","2")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("tplstyle","default","模板风格","{$hd.config.tplstyle}","1")');
$db->exe('REPLACE INTO `hd_config`(`name`,`value`,`title`,`html`,`tid`)VALUES ("recycled","1","删除时放入回收站","{$hd.config.recycled}","1")');

?>